package com.thoughtworks.turtlemock.internal;

import com.thoughtworks.turtlemock.constraint.CheckResult;
import junit.framework.Assert;

public class EmptyInvokeWithArgsResultLog extends AbstractRollbackableInvokeLog implements InvokeWithArgsResultLog {
    private final CheckResult result;

    public EmptyInvokeWithArgsResultLog(CheckResult result) {
        this.result = result;
    }

    public void times(int expectedTimes) {
        Assert.assertEquals("expected invoke " + expectedTimes + " times, actual was: 0", expectedTimes, 0);
    }

    public int timesNotAsserted() {
        return 0;
    }

    public CheckResult status() {
        return result;
    }

    public void rollback() {
    }
}
